<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 */
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
    <head>
        <meta charset="<?php bloginfo('charset'); ?>" />
        <title>
            <?php
            /*
             * Print the <title> tag based on what is being viewed.
             */
            global $page, $paged;
            wp_title('|', true, 'right');
            // Add the blog name.
            bloginfo('name');
            // Add the blog description for the home/front page.
            $site_description = get_bloginfo('description', 'display');
            if ($site_description && ( is_home() || is_front_page() ))
                echo " | $site_description";
            // Add a page number if necessary:
            if ($paged >= 2 || $page >= 2)
                echo ' | ' . sprintf(__('Page %s', 'figero'), max($paged, $page));
            ?>
        </title>
        <?php if (is_front_page()) { ?>
            <?php if (get_option('inkthemes_keyword') != '') { ?>
                <meta name="keywords" content="<?php echo get_option('inkthemes_keyword'); ?>" />
            <?php } else {
                
            } ?>
            <?php if (get_option('inkthemes_description') != '') { ?>
                <meta name="description" content="<?php echo get_option('inkthemes_description'); ?>" />
            <?php } else {
                
            } ?>
            <?php if (get_option('inkthemes_author') != '') { ?>
                <meta name="author" content="<?php echo get_option('inkthemes_author'); ?>" />
    <?php } else {
        
    } ?>
        <?php } ?>
        <link rel="profile" href="http://gmpg.org/xfn/11" />
        <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
        <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
        <?php        
        wp_head();
        ?>
        <!--[if gte IE 9]>
                <script type="text/javascript">
                        Cufon.set('engine', 'canvas');
                </script>
        <![endif]-->
    </head>
    <body <?php body_class(); ?>>
        <!--start container-->
        <div class="header-container">
            <div class="container_24">
                <div class="grid_24">
                    <div class="header">
                        <div class="grid_6 logo alpha">
                            <div class="logo"><a href="<?php echo home_url(); ?>"><img src="<?php if (figero_get_option('figero_logo') != '') { ?><?php echo figero_get_option('figero_logo'); ?><?php } else { ?><?php echo get_template_directory_uri(); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" /></a> </div>
                        </div>
                        <div class="grid_18 omega">
                            <div class="navigation">
                        <?php figero_nav(); ?>
                            </div>
                        </div>
                    </div>
                    <!--End Header-->
                </div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="clear"></div>
        <div class="top_strip"></div>
